package exam.model.entity;

import java.util.Date;
import exam.model.entity.base.TUserEntityRT;

/**
 * <p>TUserEntity</p>
 * <br>
 * <p>tableName: T_USER</p>
 * 
 * @author Phong
 * @version 09/05/2012
 */
public class TUserEntity extends TUserEntityRT {
	// USER_ID
	private long userId;
	// USERNAME
	private String userName;
	// PASSWORD
	private String password;
	// FULLNAME
	private String fullName;
	// BIRTHDAY
	private Date birthday;
	// GENDER
	private String gender;
	// ADDRESS
	private String address;
	// ROLE
	private int role;
	// CREATE_DATE
	private Date createDate;
	// UPDATE_DATE
	private Date updateDate;
	
	
	
	// Set/Get userId
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	
	// Set/Get userName
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	// Set/Get password
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	// Set/Get fullName
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	
	// Set/Get birthday
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	
	// Set/Get gender
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	// Set/Get address
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
	// Set/Get role
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	
	// Set/Get createDate
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	// Set/Get updateDate
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
	/**
	 * Contructor
	 */
	public TUserEntity() {}
	
	/**
	 * Constructor
	 * @param userId
	 */
	public TUserEntity(long userId) {
		this.userId = userId;
	}
}
